<div class="hot_container">
  <div class="title"><span class='title_content'>为<%=@logistic.name%>设定省份的运费(没有设定的省份使用默认运费)</span></div>
  <% form_for @logistic do |f|%>
    <ul style="float:left;">
      <% for province in @provinces %>
        <li class='province_list'>
          <%= province.name + check_box("logistic[province_array]",province.id,{:checked=>false},province.id,0)%>
        </li>
      <% end %>
      <li class="break_line" style="height:30px;"><label for="logistic_fee">费用:</label>
      <%= f.text_field :fee,:size=>10 %> &yen; <%= submit_tag '保存' %></li>
    </ul>
  <%end%>
  <p>
    已设定的运费:<br />
    <%  @logistic.logistic_fees.each do |l| %>
      <%=l.province.name%>:<%=l.fee%>&yen;
    <%end%>
  </p>


<div class="action_link">
  <%= link_to '取消', logistics_path,:class=>'action_back' %>
</div>
  

</div>